<template>
    <div>
        <p><el-button>oneson2-----</el-button><span>父传子---{{mm}}</span>|-|-|-|-|<span>bus---{{nn}}</span></p>

    </div>
</template>

<script>
import {bus} from '@/utils/bus.js'
export default {
    props: ['mm'],
    data() {
        return {
            nn:''
        };
    },
    computed: {

    },
    created() {
        bus.$on('conesonbusFn',(d)=>{
            this.nn = d
        })
    },
    mounted() {

    },
    watch: {

    },
    methods: {

    },
    components: {

    },
};
</script>

<style scoped>
</style>
